/**
 * 
 */
package com.zhangjihao.utils;

/**
 * 说明：
 * 
 * @author  zhangjihao(mailto:zhangjihao@sohu.com)
 * @version v1.0
 * 创建于：2020年5月21日 下午7:25:35
 */
public class HaogeRuntimeException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	private int code = 0;//参数为空，代码为100001;

	public HaogeRuntimeException() {
		super();
	}

	public HaogeRuntimeException(String message, Throwable cause, boolean enableSuppression,
			boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	public HaogeRuntimeException(String message, Throwable cause) {
		super(message, cause);
	}

	public HaogeRuntimeException(String message) {
		super(message);
		// TODO Auto-generated constructor stub
	}

	public HaogeRuntimeException(String message, int code) {
		super(message);
		this.code = code;
	}
	public HaogeRuntimeException(Throwable cause) {
		super(cause);
		// TODO Auto-generated constructor stub
	}

	
}
